package Gui;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.MessageBox;
import org.eclipse.swt.widgets.Shell;

public class MessageDialog {
	public static void Error(Shell shell, String sTitle, String sMessage){
		MessageBox ErrorBox = new MessageBox(shell, SWT.ICON_ERROR);
		ErrorBox.setText(sTitle);
		ErrorBox.setMessage(sMessage);
		ErrorBox.open();
	}
	public static void Notice(Shell shell, String sTitle, String sMessage){
		MessageBox ErrorBox = new MessageBox(shell, SWT.ICON_INFORMATION);
		ErrorBox.setText(sTitle);
		ErrorBox.setMessage(sMessage);
		ErrorBox.open();
	}
}
